#ifndef _EXLOBBY_LOGIN_CASE_H__
#define _EXLOBBY_LOGIN_CASE_H__

#include <StressCase.h>

#include "ExLobbyDDL.h"

namespace Atlas
{
	class CExLobbyLoginCase : public Atlas::CStressCase
	{
	public:
		CExLobbyLoginCase();
		virtual ~CExLobbyLoginCase();

		virtual void OnAttach();
		virtual void OnTick();
		virtual void OnDetach();

		void OnConnectFailed();
		void OnConnect();
		void OnLoginDone();
		void OnDisconnect();

	protected:
		virtual CStressCase* Create();
		virtual void _GetInfo(std::string& info);

	private:
		_U32 m_nSuccTimes; 
		_U32 m_nFailedTimes;	
	};
}
#endif  //_EXLOBBY_LOGIN_CASE_H__